VaccinationsProcessed Web Service
MethodVaccinationsProcessedChangeVeterinarian
Description
This method allows the user to change the veterinarian attribute of an already processed CoreOne Vaccination.
Request (VaccinationsProcessedChangeVeterinarian)

Below are the required parameters to successfully update the details of one specified CoreOne Vaccination. If any parameter is omitted an error message will be displayed alerting the user.

Request Body Parameters

NameDescriptionData Type
token

This is a 40-character hexadecimal string.

This token should have been obtained at the commencement of a session using the Login (Method). It is required for all functional CoreOne web services.
xml:string
id

This is an internal CoreOne Vaccination id. It is used to specify which Vaccination record the user wished to update.

These can be retrieved through using the VaccinationsIndex (Method) or the VaccinationsIndexFor (Method).
xml:int
person_id

This is an internal CoreOne Person id. This is the new value of the person_id attribute for the specified Vaccination.

These can be retrieved through using the PeopleIndex (Method).
xml:int
Response (VaccinationsProcessedChangeVeterinarian_response)

This is the returned status message to tell the user the result of the update.

An error message will be displayed instead of the status message if any of the input parameters fail any validation rule. For example if the user's token is invalid or the Vaccination record doesn't exist.

Response Body Parameters

NameDescriptionData Type
statusIf the vaccination was successfully updated a message "Update successful." will be returned. If the vaccination was not successfully updated a message "Update failed." will be returned.xml:string
Remarks

See Also
All Operations Resource GroupVaccinationsProcessed Web Service

 

 


© 2014-2018 All Rights Reserved.

Send comments on this topic.